﻿
using RealTimeCharts.LineChart;
using System.Collections.ObjectModel;

namespace IDEAMS.model.waveLen
{
    public class WaveLenDisplaySettingViewModel : ViewModelBase
    {

        public WaveLenDisplaySettingViewModel()
        {
            valueRangeX = new ValueRangeViewModel();
            valueRangeY = new ValueRangeViewModel();
        }

        //X轴显示范围
        private ValueRangeViewModel m_valueRangeX;
        public ValueRangeViewModel valueRangeX
        {
            get { return m_valueRangeX; }
            set
            {
                this.m_valueRangeX = value;
                NotifyPropertyChanged();
            }
        }

        //Y轴显示范围
        private ValueRangeViewModel m_valueRangeY;
        public ValueRangeViewModel valueRangeY
        {
            get { return m_valueRangeY; }
            set
            {
                this.m_valueRangeY = value;
                NotifyPropertyChanged();
            }
        }

        private ChannelItemViewModel m_selectedGrattingNo;
        public ChannelItemViewModel selectedGrattingNo
        {
            get { return m_selectedGrattingNo; }
            set
            {
                m_selectedGrattingNo = value;
                NotifyPropertyChanged();
            }
        }
    }
}
